function echart(main, data) {
	var echart = echarts.init(main);
	var option = {
		backgroundColor: "#ffc6d7",
		grid: {
			x: "10%",
			y: "10%",
			x2: "8%",
			y2: "10%",
		},
		xAxis: [{
			type: 'category',
			boundaryGap: false,
			splitLine: {
				show: true,
				lineStyle: {
					color: ['color: "#bfbfbf",'],
					type: "dashed",
					opacity: 0.2,
				}
			},
			nameTextStyle: {
				color: "#666"
			},
			axisLine: {
				lineStyle: {
					color: "#666",
					type: "solid",
				}
			},
			axisTick: {
				show: false,
			},
			axisLabel: {
				color: "#666"
			},
			data: data.dates,
		}],

		yAxis: [{
			name: data.y_name,
			type: 'value',
			nameLocation: "end",
			splitNumber: 6,
			min: data.y_min,
			max: data.y_max,
			splitLine: {
				show: true,
				lineStyle: {
					color: ['color: "#bfbfbf"'],
					type: "dashed",
					opacity: 0.1,
				}
			},
			nameTextStyle: {
				color: "#666"
			},
			axisLabel: {
				color: "#666"
			},
			axisLine: {
				lineStyle: {
					color: "#666",
					type: "solid",
				}
			},
			axisTick: {
				show: false,
			},
		}],
		series: [

			//标准数据线
			{
				data: data.standard_data,
				type: 'line',
				smooth: true,
				connectNulls: true,
				symbol: "none",
				lineStyle: {
					type: "dashed",
					color: "#fff",
				},
			},
			//最高标准线
			{
				data: data.max_data,
				type: 'line',
				smooth: true,
				connectNulls: true,
				symbol: "none",
				lineStyle: {
					color: "#ff6ea4",
					opacity: 0.4,
				},
				areaStyle: {
					normal: {
						color: "#ff6ea4",
						opacity: 0.4,

					}
				},
			},

			//最低标准线
			{
				data: data.min_data,
				type: 'line',
				smooth: true,
				connectNulls: true,
				symbol: "none",
				lineStyle: {
					color: "#ff6ea4",
					opacity: 0.4,
				},
				areaStyle: {
					normal: {
						color: "#ffd4dd",
						opacity: 0.5,
					}
				},
			},
			//实测数据
			{
				data: data.reality_data,
				type: 'line',
				smooth: true,
				connectNulls: true,
				symbol: data.symbol,
				symbolSize: [10, 10],
				lineStyle: {
					color: "#ea1370",
					width: 2,
				},
				itemStyle: {
					color: "#ea1370",
					borderWidth: 5,
				},
				markPoint: {
					data:data.markPoint
				}

			},
		],
		//区域滑动
		dataZoom: [{
			type: 'inside',
			show: true,
			xAxisIndex: [0],
			start: 0,
			end: data.end
		}],
	};
	echart.setOption(option)
	return option;
}